//
//  Diary.h
//  MyTrip
//
//  Created by zhang on 15/8/24.
//  Copyright (c) 2015年 张益. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Diary : NSObject

@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *pic;
@property (nonatomic, copy) NSString *date;
@property (nonatomic, copy) NSString *dayCount;
@property (nonatomic, copy) NSString *viewCount;
@property (nonatomic, copy) NSString *authorImage;
@property (nonatomic, copy) NSString *authorName;
@property (nonatomic, copy) NSString *address;
@property (nonatomic, assign) NSInteger type;
@property (nonatomic, assign) NSInteger diaryid;


+ (instancetype)diaryWithPic:(NSString *)pic title:(NSString *)title date:(NSString *)date dayCount:(NSString *)dayCount viewCount:(NSString *)viewCount authorImage:(NSString *)authorImage authorName:(NSString *)authorName address:(NSString *)address type:(NSInteger)type diaryid:(NSInteger)diaryid;

@end
